/*
 * Copyright (C) Francisco Morero Peyrona. All rights reserved.
 *
 * This software is published under the terms of Open Source
 * License version 1.1, a copy of which has been included with this
 * distribution in the License.txt file.
 */
 
package jdbcmanager.swing;

import javax.swing.JTextArea;

/**
 * A specialized JTextArea that works as a multi-line JLabel.
 * 
 * @author f.morero
 */

public class JTextNote extends JTextArea
{  
   public JTextNote()
   {
      this( null );   
   }

   public JTextNote( String sText )
   {
      setBorder( null );  
      setOpaque( false );
      setFocusable( false );
      setLineWrap( true );
      setWrapStyleWord( true );
      setText( sText );
   }    
}
